package com.jy.modules.cims.data.interact.core.loan.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * 
 * @classname: Request4044DTO.java
 * @description: 债权转让结算申请Request
 * @author jieyue-yanjingying
 * @since 2016-03-30 13:41
 * @version 1.0.0
 */
public class Request4044DTO extends BaseHeaderRequestDTO {
	
	@NotBlank(message = "结算申请编号applyId不能为空")
	private String applyId;
	
	@NotBlank(message = "申请人姓名applyName不能为空")
	private String applyName;

	@NotBlank(message = "机构代码cCode不能为空")
	private String cCode;
	
	@Valid
	@NotEmpty(message = "债权转让结算列表creditList不能为空")
	@Size(min = 1, message = "债权转让结算列表creditList不能为空")
	private List<RequestCreditSettlementDTO> creditList;//债权转让结算列表

	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}

	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public String getCCode() {
		return cCode;
	}

	public void setCCode(String cCode) {
		this.cCode = cCode;
	}

	public List<RequestCreditSettlementDTO> getCreditList() {
		return creditList;
	}

	public void setCreditList(List<RequestCreditSettlementDTO> creditList) {
		this.creditList = creditList;
	}
	
}
